import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import axios from "axios";
import { useStore } from "vuex";
import "element-plus/theme-chalk/el-notification.css";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// const store = useStore();

axios.defaults.withCredentials = true //携带cookie

const app = createApp(App)
app.use(router)
app.use(ElementPlus)
// app.use(store)
// app.config.devtools = true  //开放此属性状态
app.mount('#app')
